<?php require 'inc_header.tpl.php';?>

<!-- 中间  -->
<div class="clear rj-content">
    <!--   主 -->
    <div class="rj-product-list">
        <h5><span><?php echo $goods_sort['sort_name'];?></span></h5>
        <?php
        foreach($goods as $row){
        ?>
            <div>
                <a href="<?php echo url([ _MODULE_NAME_ ,'goods','goods_detail'],['id'=>$row['id']]);?>">
                    <img src="<?php if($row['goods_img']){ echo $row['goods_img'];}else{ echo _MODULE_URL_.'/view/resource/image/default_pic_rect.jpg';}?>" width="180" height="174" loading="lazy" />
                    <br><?php echo $row['goods_name'];?></a>
            </div>
        <?php
        }
        ?>          
    </div>
    <br class="clear"> 
    <div class="rj-page" >
        <?php echo $page->url_nav_easy();?>
    </div>        
</div>

<?php require 'inc_footer.tpl.php';?>